Repository navigation
docs(scripts): ratchet-remedy corpus — the i18n-walk-parity ledger no longer ships empty - #19154
Merged
os-try-charles merged 1 commit intoSep 19, 2026
Conversation
…longer empty The hand-classified corpus entry for `check-i18n-walk-parity.mjs` described that gate's exemption ledger as shipping EMPTY. It has not been empty since the maintainer ruled, on the gate's own first red, that the unwalked groups enter it with their reasons — the described file records that move itself. Both sentences are rewritten to what is true now: the ledger was filled by maintainer ruling and only shrinks from there. The new prose deliberately carries NO count: this family's failure mode is a number copied out of another file going stale, and the ledger is shrink-only with one entry already declared a deferral, so any number written here is stale by design. Classification untouched: `expect: 'marked'` and the marked-rather-than-refused reason survive byte-identical, and `check-i18n-walk-parity.mjs` is not edited. Claude-Session: https://claude.ai/code/session_017ef78bLdybu3AffehKkhfk Co-authored-by: Claude <noreply@anthropic.com>
os-try-charles
marked this pull request as ready for review
September 19, 2026 01:00
This was referenced Sep 19, 2026
os-try-charles
deleted the
claude/issue-15189-ledger-no-longer-ships-empty
branch
September 19, 2026 01:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #15189
Clause-②: no
What this changes
One file, one entry, two prose sentences:
scripts/check-ratchet-remedy-authority.mjs'shand-classified corpus entry for
check-i18n-walk-parity.mjsdescribed that gate'sexemption ledger as shipping EMPTY. It has not been empty since the maintainer ruled,
on the parity gate's own first red, that the unwalked groups enter it with their reasons —
and the described file records that move itself.
Both sentences now say what is true. Nothing else moved: the classification, the
marked-rather-than-refusedreason, the ledger, its ceiling and itsMAINTAINER-ONLYmarking are all untouched, andcheck-i18n-walk-parity.mjsis notedited at all.
The number question, and the choice taken
The new prose carries no count. The card notes this family's failure mode is precisely
a number copied out of another file going stale, and triage reported this as the seventh
instance. Two further facts made the number-free wording the cheaper one here:
settings) is declared in that file as a DEFERRAL held on[finding]
TranslationDataSchema.settingsis declared, read by the settings service, and extractable by nothing — registry-driven emitter, or removal from the per-app schema (ADR-0049) #15178, so the ledger is expected to shrink — a quoted "three" would be stale by design.What the corpus entry needs to carry is that the ledger is shrink-only and that growing it
is the maintainer's act — that, and not its size, is what makes
markedthe honest verdictrather than
refused. Triage's literal wording ("filled to three … shrink-only fromthree") would have been equally true today; the dispatch left the choice open and this is
the half that does not need re-syncing. ⛔ No house rule is proposed here — whether prose
may ever quote another file's number is explicitly another card's question.
Live reading of the ledger being described
Read in-worktree at 2026-09-19T00:16:13Z on
origin/main@87f776bd7, not copiedfrom the card:
Same values the dispatch read two minutes earlier; no divergence to report.
Evidence
Both batteries, before and after — they are two different batteries and are reported
as two:
node scripts/check-ratchet-remedy-authority.mjs --self-testnode scripts/check-ratchet-remedy-authority.mjs(bare)Bare run printed the identical verdict line on both sides —
257 scripts swept; 15 mark the expanding remedy, 5 turn it down outright, 237 hand out no ratchet-expanding remedy. Control corpus: 30 hand-classified scripts, set-equality audited both ways.— so noverdict moved.
SELF_TEST_BATTERY_FLOORreads 21 before and after. The corpus entry's battery is(16) The corpus-scale positive control, pinned count 1 before and after; the
self-test's green is itself the assertion that every declared battery met its floor.
Nothing in the roster moved.
Residual reading, with a firing control taken from the probed file after the diff
existed (the control was derived by listing terms present in the file and absent from
git diff BASE HEAD -- PATH, not pre-picked):The classification survived verbatim:
expect: 'marked'— 15 occurrences in the file before and after; 0 of them appear asa
+/-line in the diff.refused-would-be-untrue comment block (the reason the entry ismarkedrather thanrefused) — present once before and after, and it does not appear as a+/-line.whyline that did change, the trailing 174 bytes are byte-identical:; emitting the group is the author's remedy and is offered first, while exempting one is a decision with an owner, so that path is named with its owner rather than denied.',Only the leading false clause was replaced.
Gates derived in-worktree with
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackover thereal changed-file set (1 path) — 28 commands; every one that has reported so far is exit
0. By the tool's own warning that list is not a complete account of CI.
Changeset
skip-changeset. Verified rather than assumed: every published package declaresfiles: ["dist","README.md","CHANGELOG.md"], all package-relative, and the repo-rootpackage is
private: truewith nofiles. The repo-rootscripts/directory is inside nopackage and reachable from no published
files[]entry, so this diff moves no publishedbyte.
Generated by Claude Code